Repository navigation
Add opt-in Pan-STARRS host fallback - #986
Merged
Merged
Conversation
mcoughlin
marked this pull request as ready for review
November 26, 2026 15:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
best_hostempty. A separate stagedpanstarrs-hostscatalog supplies DR2 stack Kron radii and PS1-STRM classification and photo-z joined byobjID.GALAXYwith score ≥ 0.70, r-band extendedness ≥ 0σ, a positive r-band Kron radius, and a Pan-STARRS-only maximumd_dlrof 3.0.z_type: photometricin the stored host and object API, and labeled Photometric redshift in the host card. A qualifying DESI spectrum retains precedence and is labeled Spectroscopic redshift.The fallback is disabled when
host_galaxy.ps1_fallbackis absent. This PR leaves deployment configs and the ordinary PS1 alert crossmatch untouched. A joined shape catalog must be prepared and ingested in a test deployment before enabling the fallback there. No production catalog ingestion or backfill was run.Offline replay
Swept 400 configurations on 722 ZTF Bright Transient Survey alerts with published host positions. The training and holdout split was grouped by published host name. Agreement means a selected centroid within 2″ of the published host. For the broad benchmark, the fallback was forced on alerts with existing BOOM hosts. Results for records with an empty stored
best_hostare shown separately.max_dlr: 2.0With the tuned settings, ZTF26aciomda selected PS1
191000742646808255, 15.42″ from the transient, withd_dlr = 1.58and photo-z0.0381 ± 0.0086. On the 52 benchmark alerts with published host offsets of at least 15″, 24 agreed, 24 disagreed, and four returned no match. Most of those were forced fallbacks. The known-host sample does not measure spurious matches for genuinely hostless transients. The posterior remains uncalibrated.Validation